package Animal;
//Animal.java
public class Animal {
    String name;

    public Animal(String name) {
        this.name = name;
    }

    void eat(){
        System.out.println(name + "吃饭");
    }
}
